import { AutoIncrementId, Code, DateTime, Digdit, Int, Jsonb, Money, PrimaryUuid, Title } from "../utils";
import { Entity } from "typeorm";


@Entity({ name: 'fj_rate_plan' })
export class FjRatePlan {
    @PrimaryUuid()
    id: string;

    @AutoIncrementId()
    rid: number;

    @Code()
    rate_plan_id: string;

    @Title()
    rate_plan_name: string;

    @Int()
    room_status: number;

    @Digdit()
    standard_occupancy: number;

    @Int()
    hotelid: number;

    @Money()
    price: number;

    @Code()
    currency: string;

    @Int()
    bed_type: number;

    @Digdit()
    adult_count: number;

    @Digdit()
    child_count: number;

    @Digdit()
    room_num: number;

    @Int()
    breakfast_type: number;

    @Digdit()
    inventory_count: number;

    @Digdit()
    max_occupancy: number;

}